﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Vanfa.Common.Crypto;

namespace Vanfa.Entities.User
{
    /// <summary>
    /// 注册类
    /// </summary>
    public class vRegist
    {
        public int UserID { get; set; }

        public string UserName { get; set; }

        public string MobileNumber { get; set; }

        public EU_UserGender Gender { get; set; }

        public EU_UserType Type { get; set; }

        public EU_UserGrade Grade { get; set; }

        public string Pwd { get; set; }

        public string Md5Pwd
        {
            get { return Crypto.ToMD5Hash(Pwd).ToLower(); }
        }
    }
}
